x86 acpi: Fix crash in enable_nonboot_cpus() on wakeup from S3/S4
authorKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 14:18:31 +0000 (14:18 +0000)
committerKeir Fraser <keir@xen.org>
Fri, 14 Jan 2011 14:18:31 +0000 (14:18 +0000)
commit9d9af7dca878fb6f85ddf3cf3cb43df273f6b5a0
tree0ad481426f571d5f7075a9c433d411177b310dae
parent24273c92be16bab4d48561a0d892463a544b0a4a
x86 acpi: Fix crash in enable_nonboot_cpus() on wakeup from S3/S4

Bringing a CPU back online can require RCU work to be flushed, because
the per-cpu data from last time the CPU was online may not yet be
deallocated. Use the new rcu_barrier() interface function to achieve
this.

Signed-off-by: Keir Fraser <keir@xen.org>
xen/arch/x86/acpi/power.c